
using Newtonsoft.Json;

namespace QNLua.CommonData
{
    public class EventOption
    {
        [JsonProperty("eventName")]
        public string EventName { get; set; }

        [JsonProperty("scriptId")]
        public int? ScriptId { get; set; }

        [JsonProperty("extra")]
        public string? Extra { get; set; }
    }

    public class EventMustHasScriptIdOption : EventOption
    {
        public new int ScriptId { get; set; }
    }
}
